home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c
- Subject: Re: beginner question
- Date: 28 Mar 1996 10:04:37 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4jdo7l$de2@sparcserver.lrz-muenchen.de>
- References: <4jc3sr$1ggu@uvaix3e1.comp.UVic.CA>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- dtorgers@gulf.uvic.ca (Damon Torgerson) writes:
-
- >Would some one please esplain to me what a structure tag is and what it is
- >used for?
-
- It's the "name" of a struct. It is used to refer to the strcut data type
-
- struct FOO
- {
- int bar;
- }
-
- FOO is the "struct tag" of that struct, i.e. you can use it to declare
- variables of that type as in
-
- struct FOO s;
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
- | ua302aa@sunmail.lrz-muenchen.de
-